def is_bluetooth_disabled():
result = subprocess.run(
['powershell', '-Command', 'Get-PnpDevice -Class Bluetooth | Where-Object { $_.FriendlyName -match "Bluetooth\(R\)" } | Format-Table -HideTableHeaders Status'],
capture_output=True, text=True, encoding='mbcs', errors='ignore'
)